package com.pingan.generator.api.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.pingan.generator.api.entity.AppVersionInfo;
import com.pingan.generator.api.entity.BaseLog;
import com.pingan.generator.api.service.InterFaceService;

@Controller
//@RequestMapping("/check")
public class ApiColDetailController extends BaseLog {

	@Autowired
	private InterFaceService interFaceService;

	//@RequestMapping(value = "/checkApiCol", method = RequestMethod.GET)
	@ResponseBody
	public String checkApiCol(HttpServletRequest request) {
		// 根据接口查询所有字段key
		String result = interFaceService.getCheck(null, null);

		return result;
	}

}
